package com.it.base.arithmetic.base.dm.strategy.strategy;

import com.it.base.arithmetic.base.dm.strategy.Strategy;

import java.util.Map;

/**
 * 支付宝的支付策略
 */
public class AliPayStrategy implements Strategy {


    @Override
    public Boolean payOrder(Map<String, Object> mapeyParms) {
        // 处理具体的业务流程等
       Object obj =  mapeyParms.get("ali");
       if(obj instanceof String){
           return true;
       }else{
           return false;
       }

    }
}
